home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / Xt / XtGetResourceList.z / XtGetResourceList
Encoding:
Text File  |  2002-10-03  |  4.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXttttGGGGeeeettttRRRReeeessssoooouuuurrrrcccceeeeLLLLiiiisssstttt((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXttttGGGGeeeettttRRRReeeessssoooouuuurrrrcccceeeeLLLLiiiisssstttt((((3333XXXXtttt))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XtGetResourceList, XtGetConstraintResourceList - obtain
  10.           resource list
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           void XtGetResourceList(_c_l_a_s_s, _r_e_s_o_u_r_c_e_s__r_e_t_u_r_n,
  14.           _n_u_m__r_e_s_o_u_r_c_e_s__r_e_t_u_r_n);
  15.                 WidgetClass _c_l_a_s_s;
  16.                 XtResourceList *_r_e_s_o_u_r_c_e_s__r_e_t_u_r_n;
  17.                 Cardinal *_n_u_m__r_e_s_o_u_r_c_e_s__r_e_t_u_r_n;
  18.  
  19.           void XtGetConstraintResourceList(_c_l_a_s_s, _r_e_s_o_u_r_c_e_s__r_e_t_u_r_n,
  20.           _n_u_m__r_e_s_o_u_r_c_e_s__r_e_t_u_r_n);
  21.                 WidgetClass _c_l_a_s_s;
  22.                 XtResourceList *_r_e_s_o_u_r_c_e_s__r_e_t_u_r_n;
  23.                 Cardinal *_n_u_m__r_e_s_o_u_r_c_e_s__r_e_t_u_r_n;
  24.  
  25.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  26.           _n_u_m__r_e_s_o_u_r_c_e_s__r_e_t_u_r_n
  27.                     Specifies a pointer to where to store the number
  28.                     of entries in the resource list.
  29.  
  30.           _r_e_s_o_u_r_c_e_s__r_e_t_u_r_n
  31.                     Specifies a pointer to where to store the returned
  32.                     resource list.  The caller must free this storage
  33.                     using _X_t_F_r_e_e when done with it.
  34.  
  35.           _w_i_d_g_e_t__c_l_a_s_s
  36.                     Specifies the widget class.
  37.  
  38.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  39.           If _X_t_G_e_t_R_e_s_o_u_r_c_e_L_i_s_t is called before the widget class is
  40.           initialized (that is, before the first widget of that class
  41.           has been created), _X_t_G_e_t_R_e_s_o_u_r_c_e_L_i_s_t returns the resource
  42.           list as specified in the widget class record.  If it is
  43.           called after the widget class has been initialized,
  44.           _X_t_G_e_t_R_e_s_o_u_r_c_e_L_i_s_t returns a merged resource list that
  45.           contains the resources for all superclasses. The list
  46.           returned by _X_t_G_e_t_R_e_s_o_u_r_c_e_L_i_s_t should be freed using _X_t_F_r_e_e
  47.           when it is no longer needed.
  48.  
  49.           If _X_t_G_e_t_C_o_n_s_t_r_a_i_n_t_R_e_s_o_u_r_c_e_L_i_s_t is called before the widget
  50.           class is initialized (that is, before the first widget of
  51.           that class has been created), _X_t_G_e_t_C_o_n_s_t_r_a_i_n_t_R_e_s_o_u_r_c_e_L_i_s_t
  52.           returns the resource list as specified in the widget class
  53.           Constraint part record. If it is called after the widget
  54.           class has been initialized, _X_t_G_e_t_C_o_n_s_t_r_a_i_n_t_R_e_s_o_u_r_c_e_L_i_s_t
  55.           returns a merged resource list that contains the Constraint
  56.           resources for all superclasses. If the specified class is
  57.           not a subclass of _c_o_n_s_t_r_a_i_n_t_W_i_d_g_e_t_C_l_a_s_s, *_r_e_s_o_u_r_c_e_s__r_e_t_u_r_n
  58.           is set to NULL and *_n_u_m__r_e_s_o_u_r_c_e_s__r_e_t_u_r_n is set to zero. The
  59.           list returned by _X_t_G_e_t_C_o_n_s_t_r_a_i_n_t_R_e_s_o_u_r_c_e_L_i_s_t should be freed
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXttttGGGGeeeettttRRRReeeessssoooouuuurrrrcccceeeeLLLLiiiisssstttt((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXttttGGGGeeeettttRRRReeeessssoooouuuurrrrcccceeeeLLLLiiiisssstttt((((3333XXXXtttt))))
  71.  
  72.  
  73.  
  74.           using _X_t_F_r_e_e when it is no longer needed.
  75.  
  76.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  77.           XtGetSubresources(3Xt), XtOffset(3Xt)
  78.           _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  79.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.